<?php
header('Ccontent-Type:text/html;charset=UTF8');
include 'lib/checker.php';
include 'lib/header.php';
?>

		<div class="row">
	                <div class="col-xs-12">
	                    <div class="panel panel-info">
	                        <div class="panel-heading">
	                            <h1 class="panel-title">添加联系人</h1>
	                        </div>
	                        <?php if(!empty($mes1)){ ?>
						<div><?php echo $mes1 ?></div>
					<?php } ?>
	                            <form class="form-horizontal" action="doAddperson.php" method="post" enctype="multipart/form-data" >
	                                <div class="panel-body">
	                                	<div class="form-group text-center">
	                                		<img src="imgs/wn.jpg" width="160" height="160" >
	                                	</div>
	                                	<div class="form-group">
	                                	<label class="control-label col-xs-3">照片：</label>
											<div class="col-xs-8 ">
											<label class="sr-only" for="1113"></label>
										    <div class="input-group">
										      <input name="img" type="file" class="filestyle" data-buttonBefore="true" data-buttonText="选择文件" /><br />
										    </div>
											</div>
	                                	</div>
										<div class="form-group">
	                                	<label class="control-label col-xs-3">姓名：</label>
											<div class="col-xs-8 ">
											<input type="text" class="form-control" name="name" placeholder="姓名"/>
											</div>
	                                	</div>
										<div class="col-xs-2"></div>
										<button type="submit" class="btn btn-default">添加</button>
										<a href="listperson.php" class="btn btn-default">取消</a>
	                        		</div>
	                            </form>
	                    </div>
	                </div>
	            </div>
<?php include 'lib/footer.php';?>